package com.frxuexi.reprot

import com.frxuexi.lib_http.ApiResponse
import com.frxuexi.reprot.entity.CommitReportData
import com.frxuexi.reprot.entity.ReportData
import com.frxuexi.reprot.entity.ReportEntity
import kotlinx.coroutines.flow.Flow
import okhttp3.RequestBody
import retrofit2.http.Body
import retrofit2.http.POST

interface ApiServiec {


    @POST("/report/selReport")
    fun getReport(@Body body: RequestBody):Flow<ReportData>

    @POST("/report/addReport")
    fun commitReport(@Body body: RequestBody):Flow<CommitReportData>

}